/**
 * 
 */

package com.wutianyi.taskqueue.queue.impl;

/**
 * 会出现一种情况，就是删除和插入是同步，但是删除先提交，
 * 所以增加了尝试删除的次数来控制
 * 
 * @author wutianyi
 * 
 */
public class DeleteTaskDO {

	private String	taskId;
	/**
	 * 尝试删除的次数
	 */
	private int		deleteCount;

	public DeleteTaskDO(String _taskId, int _deleteCount) {

		this.taskId = _taskId;
		this.deleteCount = _deleteCount;
	}

	public String getTaskId() {

		return taskId;
	}

	public void setTaskId(String taskId) {

		this.taskId = taskId;
	}

	public int getDeleteCount() {

		return deleteCount;
	}

	public void setDeleteCount(int deleteCount) {

		this.deleteCount = deleteCount;
	}

}
